# coding=utf-8
# -*- coding: UTF-8 -*-
#
# This file is part of the kernelstudio package.
#
# (c) 2014-2025 zlin <admin@kernelstudio.com>
#
# For the full copyright and license information, please view the LICENSE file
# that was distributed with this source code.
from typing import Any

from ksai.context import ApplicationInitializer, Application
from ksai.persistence.storage.config import storage_config
from ksai.persistence.storage.factory import storage


class StoragePersistenceInitializer(ApplicationInitializer):

    def initialize(self, app: Application) -> Any:
        app.logger.info('Using [' + storage.type + '] storage for persistence')
